package com.maxima.maximaAttendance.pojos;

public class Employee {

	private Integer id;
	private String firstname;
	private String lastname;
	private String password;
	private Integer emp_id;
	private Boolean logged_in;
	private String time_in;
	private String time_out;
	private Boolean present;
	private Boolean workFromHome;
	
	
	public Boolean getLogged_in() {
		return logged_in;
	}
	public void setLogged_in(Boolean logged_in) {
		this.logged_in = logged_in;
	}
	public String toString(){
		return this.getFirstname();
	}

	public Employee(Integer id, String firstname, String lastname,
			String password, Integer emp_id, Boolean logged_in, String time_in,
			String time_out, Boolean present, Boolean workFromHome) {
		this.id = id;
		this.firstname = firstname;
		this.lastname = lastname;
		this.password = password;
		this.emp_id = emp_id;
		this.logged_in = logged_in;
		this.time_in = time_in;
		this.time_out = time_out;
		this.present = present;
		this.workFromHome = workFromHome;
	}
	public Employee(String firstName, String lastName,Integer emp_id, String password) {
		this.firstname = firstName;
		this.lastname= lastName;
		this.emp_id= emp_id;
		this.password = password;
		this.present=false;
		this.workFromHome=false;
		this.logged_in=false;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getFirstname() {
		return this.firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	public String getLastname() {
		return this.lastname;
	}

	public void setLastname(String lastname) {
		this.lastname = lastname;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getEmp_id() {
		return emp_id;
	}
	public void setEmp_id(Integer emp_id) {
		this.emp_id = emp_id;
	}
	public String getTime_in() {
		return time_in;
	}
	public void setTime_in(String time_in) {
		this.time_in = time_in;
	}
	public String getTime_out() {
		return time_out;
	}
	public void setTime_out(String time_out) {
		this.time_out = time_out;
	}
	public Boolean getPresent() {
		return present;
	}
	public void setPresent(Boolean present) {
		this.present = present;
	}
	public Boolean getWorkFromHome() {
		return workFromHome;
	}
	public void setWorkFromHome(Boolean workFromHome) {
		this.workFromHome = workFromHome;
	}
}